package com.lottery.service.pc28.lobbyService;

import org.springframework.stereotype.Service;

@Service
public interface BetNoticeService {

	/**
	 * 插入弹幕
	 * 
	 * @param userId
	 *            用户id
	 * @param barrage
	 *            要插入的弹幕
	 * @return
	 */
	public String insertBetNotice(int userId, String barrage, int lotteyType);

	/**
	 * 插入提示弹幕
	 * 
	 * @param barrage
	 *            要插入的弹幕
	 * @return
	 */
	public void insertPromptNotice(String barrage, int lotteyType);

	/**
	 * 获得弹幕
	 * 
	 * @param index
	 *            上次查询最后一条记录的index
	 * @return
	 */
	public String queryBetNotice(int index, int lotteyType, String agencyId);

	public void tourBetnotice(int userId, String mStr, int lotteyType);

}
